#ifndef _USER_H
#define _USER_H
#include "Camera.hpp"
#include "TcpConnection.hpp"
#include <vector>
using std::vector;
enum UserStatus{
    USER_NO_LOG,
    USER_IS_LOGING,
    USER_HAS_LOGED,
    USER_HAS_LOGOFF
};

class User
{
public:
    User() {}
    ~User() {}

public:
    int id ;
    string _name;
    string _setting;
    string _encrypted;
    vector<Camera> _cameras;
    TcpConnectionPtr _channel;
    UserStatus _status;
};
#endif


